<?php 
    $error_message = $this->session->flashdata('error_message');
?>
<div class="login-box">
    <h3>Đăng nhập</h3>
    <div class="<?php echo (empty($error_message))?'hide':''; ?> error"><?php echo $error_message; ?></div>
    <form method="post" action="login">
        <ul>
            <li><label>Email</label></li>
            <li><input type="text" name="email" class="text" style="width: 100%" /></li>
            <li><label>Mật khẩu</label></li>
            <li><input type="password" name="password" class="text" style="width: 100%" /></li>
            <li>
                <input type="submit" name="submit" value="Đăng nhập" class="button2" />
                <input type="checkbox" id="rememberme" name="remember" value="on" />
                <label for="rememberme" class="remember_me" style="font-weight: normal;">Ghi nhớ tài khoản</label>
            </li>
            <li class="end" style="text-align: right;">
                <a href="#">Quên mật khẩu?</a> |
                <a href="#"><b>Đăng ký</b></a>
            </li>
        </ul>
    </form>
</div>